home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 1
/
Nebula One.iso
/
Financial
/
Stopwatch2.3
/
Source
/
InfoPanel.m
< prev
next >
Wrap
Text File
|
1995-06-12
|
537b
|
43 lines
/*
* Info Panel support for Stopwatch app.
*
* For legal stuff see the file COPYRIGHT
*/
#import "InfoPanel.h"
#define VERSION "2.3"
@implementation InfoPanel
static id Info;
+ new
{
if ( Info == nil ) {
Info = [[InfoPanel alloc] init];
[NXApp loadNibSection:"infoPanel.nib" owner:Info];
}
return Info;
}
- awakeFromNib
{
[versionField setStringValue:VERSION];
return self;
}
- showInfo
{
[panel orderFront:nil];
return self;
}
- showLegal:sender
{
[legalPanel orderFront:nil];
return self;
}
@end